﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using Com.CMS263.PO;
using Com.CMS263.BLL;
using Com.CMS263.Util;
using System.Collections.Generic;

namespace Com.CMS263.Web.xiaoqu
{
    public partial class details : System.Web.UI.Page
    {
        public Community entity = new Community();
        CommunityBLL cbll = new CommunityBLL();
        public IList<Com.CMS263.PO.Image> list = new List<Com.CMS263.PO.Image>();
        ImageBLL ibll = new ImageBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(Request["id"]);
            entity = (Community)cbll.FindModelById("Community", id);
            if (entity == null)
            {
                StringUtil.Alert("抱歉没有找到相关信息", "/xiaoqu/index.aspx");
            }
            list = ibll.GetListPaging("c", id);
        }
    }
}
